In the unified type system of c, all types, predefined and user-defined, reference types and value types, inherit directly or indirectly from 在c#的統(tǒng)一類型系統(tǒng)中,所有類型(預(yù)定義類型、用戶定義類型、引用類型和值類型)都是直接或間接從
If we were starting from scratch, of course, we could do anything we wished to provide a unified type system, and-at least until we made changes to that type system-anything we did would have the shine of a spanking brand-new widget 當(dāng)然,如果從頭開(kāi)始,我們可以為提供統(tǒng)一的類型系統(tǒng)而隨心所欲地進(jìn)行設(shè)計(jì),而且至少在對(duì)該類型系統(tǒng)進(jìn)行更改之前,我們的任何設(shè)計(jì)都還籠罩著一個(gè)“全新”的光環(huán)。